// app.js
var util = require('./utils/util1.js');
App({
    globalData: {
        baseUrl: "https://server.iguanjiao.com"
        //baseUrl: "https://shebao.iguanjiao.com/api"
        //baseUrl: "https://test.iguanjiao.com/api"
        // baseUrl: "http://123.125.194.157:8000"
    },
    imageData: {
      baseUrl: "https://shebao.iguanjiao.com"
  },
    util: util,

    onLaunch() {
        // 展示本地存储能力
        const logs = wx.getStorageSync('logs') || []
        logs.unshift(Date.now())
        wx.setStorageSync('logs', logs)

        // 登录
        wx.login({
            success: res => {
            }
        })
    },
})